package club.banyuan.inter.Vehicles;

/**
 * @author edz
 * @version 1.0
 * @date 2020/11/25 上午11:04
 */
public class Pub {
    private String name ;

    public Pub() {
    }

    public Pub(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String buyTicket(){
        return "买到了票，";
    }
    public String goHome(){
        return "回到了家。";
    }


}
